<template>
	<view>
		<!-- 顶部导航栏 -->
		<view class="head">
			<text class="title">vip会员</text>
		</view>
		<!-- 标签 -->
		<u-tabs :list="list" :current="current" font-size="30" active-color="#ee7b2d" inactive-color="#606266"></u-tabs>
	

	</view>
</template>

<script>
	export default {
		name: "Tabs",
		data() {
			return {
				list: [{
					name: '推荐'
				}, {
					name: '免费体验'
				}, {
					name: '小白入门',
				}, {
					name: '快手菜',
				}, {
					name: '家常菜',
				}],
				current: 0,
				

			};
		},
		methods: {
			change(index) {
				this.current = index;
			},
		}
	}
</script>

<style lang="scss" scoped>
	.head {
		width: 100vw;
		height: 270rpx;
		background-image: url("https://s1.ax1x.com/2022/07/26/jz4tl6.png");

		.title {
			width: 100vw;
			font-size: 36rpx;
			color: white;
			font-weight: bold;
			text-align: center;
			line-height: 270rpx;
		}
	}

	.slot-wrap {
		display: flex;
		flex-direction: column;
		color: #fff;
		padding: 0 25rpx;

		.nav-title {
			font-weight: bolder;
			font-size: 40rpx;
		}
	}

</style>
